home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Technology Seed / Jan. '98 ATS.toast / AIAT 1.0.1 / AIAT 1.0.1 Release Notes < prev    next >
Encoding:
Text File  |  1997-09-11  |  2.1 KB  |  77 lines  |  [ttro/ttxt]

  1. AIAT 1.0.1 Release Notes
  2.  
  3. Incompatible Changes
  4.  
  5. There has been no real incompatible changes in this revision. However, the name of the source files have been changed from xxxx.cp to xxxx.cpp.
  6.  
  7. New Features
  8.  
  9.  
  10. New member functions in TWVector
  11.  
  12. Added the following new public functions to TWVector.
  13.  
  14.     bool  HasNegativeComponents() const;  
  15.  
  16. Returns true if the vector has components with negative weight.
  17.  
  18.     IABlockSize     StoreSize() const; 
  19.  
  20. Returns the store size of this vector. 
  21.  
  22.     TWVector*    DeepCopy() const;
  23.  
  24.  Returns a new vector which is a deep copy of this vector.
  25.  
  26.     void     Store( IAOutputBlock *output ) const; 
  27.  
  28. Saves this vector given the output block.
  29.  
  30.     TWVector*    Restore( IAInputBlock *input ) const; 
  31.  
  32. Streams in the vector given the input block.
  33.  
  34.     void     SortByTerm();      
  35.  
  36. Sorts vector by the term (this is the normal ordering.)
  37.  
  38.     void     SortByWeight();  
  39.  
  40. Sorts vector by weight.
  41.  
  42.     void     SortByAbsoluteWeight();  
  43.  
  44. Sorts by absolute value of the component weight.
  45.  
  46.     void    Truncate(uint32 maxTerms );  
  47.  
  48. Removes the terms with the lowest weights until maxTerms or fewer are left.
  49.  
  50.     void     TruncateByAbsoluteValue(uint32 maxTerms ); 
  51.  
  52. Removes the terms with the lowest absolute weights until maxTerms or fewer are left.
  53.  
  54.     TWVector*     AddIntoAverage(const TWVector *newVector, 
  55.                  uint32 totalVectorCount, bool invertSecondVector = false);
  56.  
  57.  
  58. The parameter newVector is added into the vector represented by this. A new vector representing the result is returned.
  59.  
  60.     TWVector*    AddWeighted(const TWVector *vector,  float weightFactor1, 
  61.                     float weightFactor2);
  62.  
  63. Same as above however,  it does not allow negative components in vector.
  64.                         
  65.     TWVector*     AddWeightedAllowNegatives(const TWVector *vector, float weightFactor1, 
  66.                     float weightFactor2);
  67.  
  68. Same as AddIntoAverage however,  it does allow negative components in vector.
  69.         
  70. Bug Fixes
  71.  
  72. Better Ranking - Fixed the ranked coordination scoring to make sure the document scores are normalized between 0 and 1.
  73.  
  74. Heap Corruption - Fixed the heap corruption bug. This was an old bug causing heap exceptions under special circumstances.
  75.  
  76. General Code Clean up - Here and there....
  77.